﻿using HZU.ZP.Domain.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace HZU.ZP.Domain.IService
{
    public interface IApplyRecordService
    {
        bool Add(ApplyRecord applyRecord);
        bool Update(ApplyRecord applyRecord);
        ApplyRecord GetById(int id);
        ApplyRecord GetByAppIdAndId(int applicantId, int positionId);
        ApplyRecord GetByComAndId(int companyId, int positionId);
        IList<ApplyRecord> GetByApplicant(int applicantId, int processing, int pageIndex);
        IList<ApplyRecord> GetByCompany(int companyId, int processing, int pageIndex);
        int GetAppCount(int applicantId, int processing);
        int GetComCount(int companyId, int processing);

    }
}
